package com.huilian.iotbox.data.dto;

import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author Administrator
 */
@Data
public class MemberStoreBalanceDto extends QueryParam implements Serializable {
    private static final long serialVersionUID = -1795101685105383022L;
    private Long id;
    /**
     * 用户会员id
     */
    private Long memberId;
    /**
     * userId
     */
    private Integer userId;
    /**
     * 店铺id
     */
    private Integer merchantStoreId;
    /**
     * 用户第一次使用时注册的机器号
     */
    private String registerDeviceNo;
    /**
     * 人民币充值余额
     */
    private BigDecimal moneyRechargeBalance;
    /**
     * 人民币赠送余额
     */
    private BigDecimal moneyDonateBalance;
    /**
     * 充值余额
     */
    private Integer rechargeBalance;
    /**
     * 赠送余额
     */
    private Integer donateBalance;
    /**
     * 彩票余额
     */
    private Integer lottery;
    /**
     * 积分余额
     */
    private Integer integral;
    /**
     * 累计支付
     */
    private BigDecimal totalPay;
    /**
     * 最近一次支付
     */
    private Date latelyPay;
    /**
     * 消费等级：1：白银  2：黄金  3：钻石
     */
    private Integer levelPay;

    /**
     * 状态 0:失效 ,1:正常
     */
    private Integer status;
    /**
     * 版本id
     */
    private Integer versionId;

    private Date createTime;

    private Date updateTime;
    /**
     * 设备号
     */
    private String deviceNo;

    private Boolean moneySort;

    private Boolean coinSort;

    private String time;

    private MemberDto memberDto;

    private Integer agencyId;

    private String startTime;
    private String endTime;

    private Boolean isExchange;

    private Integer coinType;

    private Integer current;

    private Integer sendCoin;

    private String remark;

    /**
     * 加密串
     */
    private String sign;
    /**
     * 时间戳
     */
    private Long timestamp;

    private Long memberStoreBalanceId;
    /**
     * 头像
     */
    private String headImgUrl;

    private String nickName;
    /**
     * 维度
     */
    private String latitude;
    /**
     * 经度
     */
    private String longitude;
    private Integer addRechargeBalance;
    private Integer addDonateBalance;
    private Integer addIntegral;
    private Integer addLottery;
    private Integer addCoin;
    private String payNo;

    private BigDecimal addMoneyRechargeBalance;
    private BigDecimal addMoneyDonateBalance;

    private Integer withdrawCoins;
    /**
     * 扣除充值
     */
    private Integer deductRecharge;
    /**
     * 扣除赠送
     */
    private Integer deductDonate;
    private Long orderId;

    private BigDecimal minusMoney;
    private Integer minusCoins;
    private Integer minusIntegral;
    private Integer minusLottery;
    /**
     * 扣了多少充值币
     */
    private Integer minusRechargeBalance;
    /**
     * 扣了多少赠送币
     */
    private Integer minusDonateBalance;
    /**
     * 扣了多少充值人民币
     */
    private BigDecimal minusMoneyRechargeBalance;
    /**
     * 扣了多少赠送人民币
     */
    private BigDecimal minusMoneyDonateBalance;

    /**
     * 操作余额
     */
    private BigDecimal balance;

    private Boolean error;
    private String errorMsg;
    /**
     * 操作人id
     */
    private Integer operationUserId;
}
